<!--<div>
	<table class="keyboard">
        {% for line in arrLines %}
		<tr>
            {% for key in line %}
                <td colspan="{{key.intInputWidth}}">
                    <div dojoAttachPoint="domArrKeys"></div>
                </td>
            {% endfor %}
        </tr>
        {% endfor %}
    </table>
</div>
-->
<div dojoAttachEvent="onmousedown: _block">
    {% ifequal _flags.ime 1 %}
    <div class="IME" dojoAttachPoint="domIME">
		<div class="IMEInput">
			<input type="text" class="InputField" readonly="true" dojoAttachPoint="domIMEInput"/>
            <!--<span dojoAttachEvent="onclick:clearIMEInput"></span>-->
		</div>
		<div class="IMEOther" dojoAttachPoint="domIMEOther">
			<ul dojoAttachPoint="domIMEOtherList">
				{% for candidate in arrCandidates %}
				<li class="TextButton" style="display: none" dojoAttachEvent="onclick:_candidateSelected">
					{{candidate}}
				</li>
				{% endfor %}
			</ul>
            &nbsp;&nbsp;&nbsp;
            <ul dojoAttachPoint="domIMEPageButton">
                <li class="TextButton" style="display: none" dojoAttachPoint="domIMEPageUp"  dojoAttachEvent="onclick:_candidatePageUp">&lt;&lt;</li>
                <li class="TextButton" style="display: none" dojoAttachPoint="domIMEPageDown" dojoAttachEvent="onclick:_candidatePageDown">&gt;&gt;</li>
            </ul>

		</div>
	</div>
	{% endifequal %}
	<table class="keyboard">
		{% ifequal strType "num" %}
			<colgroup>
				<col class="first" />
				<col class="middle" span="3"/>
				<col class="last" />
			</colgroup>
		{% endifequal %}
		<tr>
			{% ifequal strType "num" %}
				<td colspan="5" class="keyboardTitle" dojoAttachPoint="domInputTitle"></td>
			{% else %}
				<td colspan="2"></td>
				<td colspan="9" class="keyboardTitle" dojoAttachPoint="domInputTitle"></td>
				<td colspan="2"></td>
			{% endifequal %}
		</tr>
        {% for line in arrLines %}
		<tr>
            {% for key in line %}
            <td colspan="{{key.intInputWidth}}" rowspan="{{key.intInputHeight}}" class="size-{{key.intInputWidth}}"
                dojoAttachPoint="domArrKeys">
                </td>
            {% endfor %}
        </tr>
        {% endfor %}
    </table>
</div>
